package interfaces;

import entity.Book;
import entity.Gift;

/**
 * 顾客接口
 * @author yy
 *
 */
public interface Customer {
	/**
	 * 显示图书
	 * @param books
	 */
	public abstract void showBook(Book[] books);
	/**
	 * 结算图书
	 * @param book
	 */
	public abstract void checkBook(Book book);
	/**
	 * 购买图书
	 * @param book
	 * @param buyNum
	 * @return
	 */
	public abstract Book buyBook(Book book, int buyNum);
	/**
	 * 购买附赠品
	 * @param giftId
	 * @return
	 */
	public abstract Gift buyGift(int giftId);

}
